<?php
Configure::write("procesosFormadores",array(
	"pre-encuentro",
	"encuentro",
	"post-encuentro",
	"re-encuentro",
	"escuela-lideres",
	"escuela-pastores"
));
	Configure::load('psite.config');
	Configure::write('domain',"cake");


	Configure::write('hostname','http://localhost/cakephp/');
	Configure::write('hostname_ckfinder','http://localhost/cakephp/');

	
	
	Configure::write('debug', 2); //por defecto
	Configure::write('App.encoding', 'UTF-8');

	define('LOG_ERROR', 2); //por defecto marcada

	Configure::write('public_views',
		array(/*
			array(
				"type"=>"restricted",
				"controller"=>"users",
				"actions"=>array("index","login","ajax_autor_detalle")
			),
			array(
				"type"=>"restricted",
				"controller"=>"noticias",
				"actions"=>array("read","single","index","get_noticiascurso")
			),
			array(
				"type"=>"restricted",
				"controller"=>"apruebas",
				"actions"=>array("ver_informe_alumno","ver_guia_practico")
			),*/
			array(
				"type"=>"open",
				"controller"=>"publics"
			),
			array(
				"type"=>"open",
				"controller"=>"users"
			)/*
			,
			array(
				"type"=>"open",
				"controller"=>"pages"
			),
			array(
				"type"=>"open",
				"controller"=>"errors"
			)*/
		)
	);



	Configure::write('Session.save', 'php');
	Configure::write('Session.cookie', 'CAKEPHP');
	Configure::write('Session.timeout', '120');
	Configure::write('Session.start', true);
	Configure::write('Session.checkAgent', false);
	Configure::write('Security.level', 'low');
	Configure::write('Security.salt', 'e1c7ddf9c14603cdaea2b888f1eaa1f356ccffc7');
	Configure::write('Acl.classname', 'DbAcl');
	Configure::write('Acl.database', 'default');
	Cache::config('default', array('engine' => 'File'));
?>
